# first:  as --32 -o linux.o linux.s
# second: ld -melf_i386 -o linux linux.o

# Common Linux Definitions:

# System Call Numbers
.equ	SYS_EXIT,	1
.equ	SYS_READ,	3
.equ	SYS_WRITE,	4
.equ	SYS_OPEN,	5
.equ	SYS_CLOSE,	6
.equ	SYS_BRK,	45

# System Call Interrupt Number

.equ	LINUX_SYSCALL,	0x80

# Standard File Descriptors
.equ	STDIN,	0
.equ	STDOUT,	1
.equ	STDERR,	2

# Common Status Codes
.equ	END_OF_FILE,	0


